Freescale Semiconductor /MK26F18 /USBDCD /STATUS

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as STATUS

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (00)SEQ_RES 0 (00)SEQ_STAT 0 (0)ERR 0 (0)TO 0 (0)ACTIVE

ACTIVE=0, SEQ_RES=00, SEQ_STAT=00, TO=0, ERR=0

Description

Status register

Fields

SEQ_RES

Charger Detection Sequence Results

0 (00): No results to report.

1 (01): Attached to an SDP. Must comply with USB 2.0 by drawing only 2.5 mA (max) until connected.

2 (10): Attached to a charging port. The exact meaning depends on bit 18: 0: Attached to either a CDP or a DCP. The charger type detection has not completed. 1: Attached to a CDP. The charger type detection has completed.

3 (11): Attached to a DCP.

SEQ_STAT

Charger Detection Sequence Status

0 (00): The module is either not enabled, or the module is enabled but the data pins have not yet been detected.

1 (01): Data pin contact detection is complete.

2 (10): Charging port detection is complete.

3 (11): Charger type detection is complete.

ERR

Error Flag

0 (0): No sequence errors.

1 (1): Error in the detection sequence. See the SEQ_STAT field to determine the phase in which the error occurred.

TO

Timeout Flag

0 (0): The detection sequence has not been running for over 1 s.

1 (1): It has been over 1 s since the data pin contact was detected and debounced.

ACTIVE

Active Status Indicator

0 (0): The sequence is not running.

1 (1): The sequence is running.

Links

() ()